#!/bin/bash
#========================================================================
# Author: YSLin
# Email: 
# File Name: tail.sh
# Description: 
#   
# Edit History: 
#   2011-01-14    File created.
#========================================================================

#follow mode,可以觀察目前一直被寫入檔案的內容
tail -f access_log &

for i in 1 2 3 4 5 6 7 8 9 10
do
	sleep 1
	echo "$i: content" >> access_log
done
